package com.ticket.system.domain.vo;

import com.ticket.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotNull;

/**
 * 出票退款单对象 yanchu_refund_backend_order
 * 
 * @author ruoyi
 * @date 2024-02-19
 */
@ApiModel(description = "出票退款单对象")
public class RefundBackendOrderVo
{
    /** 主键id */
    @ApiModelProperty(value = "编码")
    @NotNull(message = "编码不可以为空")
    private Long id;

    /** 退款单状态 0待退款 1：已退款 */
    @ApiModelProperty(value = "退款单状态 0待退款 1：已退款")
    private Integer refundStatus;
    @Excel(name = "出票付款 1已付款 2欠款")
    private Integer refundOrderStatus;

    public Integer getRefundOrderStatus() {
        return refundOrderStatus;
    }

    public void setRefundOrderStatus(Integer refundOrderStatus) {
        this.refundOrderStatus = refundOrderStatus;
    }

    /** 退款原因 */
    @ApiModelProperty(value = "退款原因")
    private String refundReason;

    /** 退款方式 1对公转账2抖音支付 3微信支付 4现金 5其他 */
    @ApiModelProperty(value = "退款方式 1对公转账2抖音支付 3微信支付 4现金 5其他")
    private Integer refundWay;

    /** 退款备注 */
    @ApiModelProperty(value = "退款备注")
    private String refundDemo;

    @ApiModelProperty(value = "其他支付方式",required = true)
    private String refundPayName;

    public String getRefundPayName() {
        return refundPayName;
    }

    public void setRefundPayName(String refundPayName) {
        this.refundPayName = refundPayName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRefundStatus(Integer refundStatus) 
    {
        this.refundStatus = refundStatus;
    }

    public Integer getRefundStatus() 
    {
        return refundStatus;
    }

    public void setRefundReason(String refundReason) 
    {
        this.refundReason = refundReason;
    }

    public String getRefundReason() 
    {
        return refundReason;
    }
    public void setRefundWay(Integer refundWay)
    {
        this.refundWay = refundWay;
    }

    public Integer getRefundWay() 
    {
        return refundWay;
    }
    public void setRefundDemo(String refundDemo) 
    {
        this.refundDemo = refundDemo;
    }

    public String getRefundDemo() 
    {
        return refundDemo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("refundStatus", getRefundStatus())
            .append("refundReason", getRefundReason())
            .append("refundWay", getRefundWay())
            .append("refundDemo", getRefundDemo())
            .toString();
    }
}
